#ifndef _I2C_H_
#define _I2C_H_

#include "types.h"
#include "err.h"
#include "semaphores.h"

typedef enum
{
  LED1,
  LED2
}module_led_t;

typedef struct
{
    sem_t i2c_lock;
}i2c_access_mem_t;

err_t read_dip_switch(uint8_t switch_no, bool *switch_state);
err_t glow_led(module_led_t led, bool led_state);





#endif
